import request from '@/utils/request'

// 查询网络IP管理列表
export function listNetworkIpMgmt(query) {
  return request({
    url: '/info/networkIpMgmt/list',
    method: 'get',
    params: query
  })
}

// 查询网络IP管理详细
export function getNetworkIpMgmt(id) {
  return request({
    url: '/info/networkIpMgmt/' + id,
    method: 'get'
  })
}

// 新增网络IP管理
export function addNetworkIpMgmt(data) {
  return request({
    url: '/info/networkIpMgmt',
    method: 'post',
    data: data
  })
}

// 修改网络IP管理
export function updateNetworkIpMgmt(data) {
  return request({
    url: '/info/networkIpMgmt',
    method: 'put',
    data: data
  })
}

// 删除网络IP管理
export function delNetworkIpMgmt(id) {
  return request({
    url: '/info/networkIpMgmt/' + id,
    method: 'delete'
  })
}

// 导出网络IP管理
export function exportNetworkIpMgmt(query) {
  return request({
    url: '/info/networkIpMgmt/export',
    method: 'get',
    params: query
  })
}